package com.qf.bbapi.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.bbapi.entity.TCoincertificate;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface TCoincertificateDao extends BaseMapper<TCoincertificate> {
    @Update("update t_coincertificate set mtso=#{mtso} where uid=#{uid}")
    int updatemtso(@Param("mtso") int mtso,@Param("uid") int token);
    @Update("update t_coincertificate set gift_certificates=#{gift_certificates} where uid=#{uid}")
    int updategiftCertificates(@Param("gift_certificates") int giftCertificates,@Param("uid") int token);
    @Update("update t_coincertificate set gift_coupons=#{gift_coupons} where uid=#{uid}")
    int updategiftCoupons(@Param("gift_coupons") int giftCoupons,@Param("uid") int token);
    @Update("update t_coincertificate set dayticket=#{dayticket} where uid=#{uid}")
    int updatedayticket(@Param("dayticket") int dayticket,@Param("uid") int token);
}
